package com.ray.jihe;

import javax.xml.bind.SchemaOutputResolver;
import java.lang.reflect.Array;
import java.util.*;

public class MapTest {


    public static void main(String[] args) {
        HashMap hashMap = new HashMap();

        hashMap.put("h","hello" );
        hashMap.put("j","java" );
        hashMap.put("e","javaee" );
        hashMap.put("m","javaME" );
//        System.out.println(hashMap);
//        Set keySet = hashMap.keySet();
//        Iterator iterator = keySet.iterator();
//        while(iterator.hasNext()){
//            System.out.println(iterator.next());
//        }
//        Collection values = hashMap.values();
//        for (Object value : values) {
//            System.out.println(value);
//        }

        Integer  array[] = {1,2,3};
        List ints = Arrays.asList(array);
        System.out.println(ints.size());

        System.out.println(ints);
    }
}
